## Process this file with automake to produce Makefile.in


uidir = $(datadir)/spotlighter/ui
ui_DATA = spotlighter.ui

if !PLATFORM_WIN32
        AM_CPPFLAGS = -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" 
else
        AM_CPPFLAGS = -DPACKAGE_LOCALE_DIR=\""../$(DATADIRNAME)/locale"\" 
endif

AM_CPPFLAGS += -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
	-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
	-L$(libdir) \
	$(SPOTLIGHTER_CFLAGS)

AM_CFLAGS =\
	 -Wall\
	 -g -L$(libdir)

bin_PROGRAMS = spotlighter

spotlighter_SOURCES = \
	callbacks.c \
	callbacks.h \
	main.c \
	utils.c \
	utils.h

spotlighter_LDFLAGS = 

if ENABLE_STATIC
spotlighter_LDFLAGS += -all-static -Wl,-static
else
if !PLATFORM_WIN32
if WITH_GNU_LD
spotlighter_LDFLAGS += -Wl,--export-dynamic
endif
endif
endif

#This create a windows executable instead an msdos ones
if PLATFORM_WIN32
spotlighter_LDFLAGS += -mwindows
endif


spotlighter_LDADD = $(SPOTLIGHTER_LIBS)

EXTRA_DIST = $(ui_DATA)

uninstall-local:
	
